Carbon


GetFontName

Header: Fonts.h Carbon status: Not Recommended

Gets the name of a font family that has a specified family ID number.

void GetFontName (
    SInt16 familyID, 
    Str255 name
);
Parameter descriptions
familyID

The font family ID.

name

On output, this parameter contains the font family name for the font family specified in familyID. If the font specified in the familyID parameter does not exist, name contains an empty string.

AVAILABILITY

Not recommended in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

CARBON NOTES

You should instead use FMGetFontFamilyName.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)